#pragma once
class SApp
{
public:
	SApp();
	~SApp(void);

	static SApp * SApp::GetApp();
	void Add(SWin * pWin);
	SManager * GetManager() { return m_pManager; };

	void Init(HINSTANCE hIns);
	UINT Run(void);

	static HINSTANCE GetIns()	{ return GetApp()->m_hIns; }

private:
	static SApp * m_pApp;

	SManager * m_pManager;

	HINSTANCE m_hIns;
};